package com.longqin.wechat.entity;

import java.io.Serializable;

/**数据内容
 * @author longqin
 *
 */
public class TemplateKeyData implements Serializable{

	private static final long serialVersionUID = 1L;
	private KeyWord first;
	private KeyWord keyword1;
	private KeyWord keyword2;
	private KeyWord keyword3;
	private KeyWord keyword4;
	private KeyWord keyword5;
	private KeyWord remark;
	
	public TemplateKeyData() {
		super();
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		return sb.toString();
	}
	
	
	public TemplateKeyData(DataBuilder builder) {
		this.first=builder.first;
		this.keyword1=builder.keyword1;
		this.keyword2=builder.keyword2;
		this.keyword3=builder.keyword3;
		this.keyword4=builder.keyword4;
		this.keyword5=builder.keyword5;
		this.remark=builder.remark;
	}
	
	public static class DataBuilder{
		private KeyWord first;
		private KeyWord keyword1;
		private KeyWord keyword2;
		private KeyWord keyword3;
		private KeyWord keyword4;
		private KeyWord keyword5;
		private KeyWord remark;
		
		public DataBuilder first(String first) {
			this.first=new KeyWord(first);
			return this;
		}
		
		public DataBuilder keyword1(String keyword1) {
			this.keyword1=new KeyWord(keyword1);
			return this;
		}
		
		public DataBuilder keyword2(String keyword2) {
			this.keyword2=new KeyWord(keyword2);
			return this;
		}
		
		public DataBuilder keyword3(String keyword3) {
			this.keyword3=new KeyWord(keyword3);
			return this;
		}
		
		public DataBuilder keyword4(String keyword4) {
			this.keyword4=new KeyWord(keyword4);
			return this;
		}
		
		public DataBuilder keyword5(String keyword5) {
			this.keyword5=new KeyWord(keyword5);
			return this;
		}
		
		public DataBuilder remark(String remark) {
			this.remark=new KeyWord(remark);
			return this;
		}
		
		public TemplateKeyData builder() {
			return new TemplateKeyData(this);
		}
	}
	
	public KeyWord getFirst() {
		return first;
	}
	
	public void setFirst(KeyWord first) {
		this.first = first;
	}
	
	public KeyWord getKeyword1() {
		return keyword1;
	}
	
	public void setKeyword1(KeyWord keyword1) {
		this.keyword1 = keyword1;
	}
	
	public KeyWord getKeyword2() {
		return keyword2;
	}
	
	public void setKeyword2(KeyWord keyword2) {
		this.keyword2 = keyword2;
	}
	
	public KeyWord getKeyword3() {
		return keyword3;
	}
	
	public void setKeyword3(KeyWord keyword3) {
		this.keyword3 = keyword3;
	}
	
	public KeyWord getKeyword4() {
		return keyword4;
	}
	
	public void setKeyword4(KeyWord keyword4) {
		this.keyword4 = keyword4;
	}
	
	public KeyWord getKeyword5() {
		return keyword5;
	}

	public void setKeyword5(KeyWord keyword5) {
		this.keyword5 = keyword5;
	}
	
	public KeyWord getRemark() {
		return remark;
	}
	
	public void setRemark(KeyWord remark) {
		this.remark = remark;
	}
}
